package com.mp.pojo.Query;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 网点url
 * @author su
 */
@Data
@ApiModel(value = "网点url")
public class WebsiteUrlQuery {


    @ApiModelProperty(value = "站点url名称", example = "珍爱网", required = true)
    @NotBlank(message = "站点url名称 不能为空")
    private String name;

    @ApiModelProperty(value = "url", example = "www.baidu.com", required = true)
    @NotBlank(message = "url 不能为空")
    private String url;



}
